import request from '../utils/request'

export const getInnerHtml=async()=>{
  return request.get("http://111.67.198.176:8103/api/article")
}

export const getImgList=async()=>{
  return request.get("http://111.67.198.176:8103/api/file",{
    params:{
      page:1,
      pageSize:12
    }
  })
}

export const getImgListpage=async(page:any,pageSize:any)=>{
  return request.get("http://111.67.198.176:8103/api/file",{
    params:{
      page,
      pageSize
    }
  })
}

export const getlebal=()=>{
  return request.get("http://111.67.198.176:8103/api/category")
}
export const gettagvalue=()=>{
  return request.get("http://111.67.198.176:8103/api/tag")
}
//http://111.67.198.176:8103/api/tag